package com.ithima.domin;

public class Student {
    private String xuehao;
    private String name;
    private int age;
    private String shengri;

    public Student() {
    }

    public Student(String xuehao, String name, int age, String shengri) {
        this.xuehao = xuehao;
        this.name = name;
        this.age = age;
        this.shengri = shengri;
    }

    public String getXuehao() {
        return xuehao;
    }

    public void setXuehao(String xuehao) {
        this.xuehao = xuehao;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getShengri() {
        return shengri;
    }

    public void setShengri(String shengri) {
        this.shengri = shengri;
    }

    @Override
    public String toString() {
        return "Student{" +
                "xuehao='" + xuehao + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", shengri='" + shengri + '\'' +
                '}';
    }
}
